package com.android.launcher3;

/**
 * Represents one instance of a Launcher widget, such as search.
 */
class Widget extends ItemInfo {
	int layoutResource;

	static Widget makeSearch() {
		Widget w = new Widget();
		w.itemType = LauncherSettings.Favorites.ITEM_TYPE_WIDGET_SEARCH;
		w.spanX = 4;
		w.spanY = 1;
		w.layoutResource = R.layout.widget_search;

		return w;
	}
}
